package com.sunny.demo1;

public class TestProxy {

    public static void main(String[] args) {

        Caculator caculator = new CaculatorImpl();

        DynamicDemo dynamicDemo = new DynamicDemo(caculator);

        Caculator proxy = dynamicDemo.getProxy();

        proxy.add(1,2);

    }

}
